package com.qire.manhua.model.vo;

import com.qire.common.support.base.BaseVO;

public class PurchaseHistoryVO extends BaseVO {

    public ComicInfoVO book;            //: {},
    public UnlockInfo unlock;          //: {}

    public class ComicInfoVO {
        public int book_id;         //: 10929,
        public String book_name;    //: "九尾狐妖的剑灵妻",
        public String book_cover;   //: "https://p.qiremanhua.com/uploads/book/202003/5e7c6e0c92f6d.jpg",
        public int last_update_px;  //: 13 更新到
    }

    public class UnlockInfo {
        public int forever;         //: 1, 永久解锁
        public int moment;          //: 0, 临时解锁总数
        public int effective;       //: 0  临时有效解锁

        public int invalidCount() {
            return moment - effective;
        }

    }

}
